import request from '@/utils/request'

// 获取列表
export function getList(data) {
  return request({
    url: '/admin/banner/getPage',
    method: 'post',
    data
  })
}

// 添加
export function addroles(data) {
  return request({
    url: '/admin/banner/save',
    method: 'post',
    data
  })
}
// 提交修改
export function sureEdit(data) {
  return request({
    url: '/admin/banner/update',
    method: 'post',
    data
  })
}

// 删除
export function shanchu(uuid) {
  return request({
    url: '/admin/banner/delete',
    method: 'post',
    data: {
      uuid
    }
  })
}

